package com.hopscotch.service.impl;

import com.hopscotch.entity.StudentClassroomVO;
import com.hopscotch.mapper.CrudMapper;
import com.hopscotch.service.CrudService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CrudServiceImpl implements CrudService {
    @Autowired
    private CrudMapper crudMapper;
    @Override
    public StudentClassroomVO selectStudent(int id) {
        StudentClassroomVO studentClassroomVO = crudMapper.selectStudent(id);
        return studentClassroomVO;
    }
}
